package com.maiji.cloud.service;

import com.maiji.cloud.entities.login.MaijiArticle;
import com.baomidou.mybatisplus.service.IService;
import com.maiji.cloud.request.login.MaijiArticleReqData;
import com.maiji.cloud.response.BaseDataResDto;
import com.maiji.cloud.response.BaseResDto;
import com.maiji.cloud.response.login.MaijiArticleResData;

import java.util.List;

public interface MaijiArticleService extends IService<MaijiArticle> {

    BaseDataResDto<List<MaijiArticleResData>> findAllMaijiArticleByLabelId(String labelId);

    BaseResDto del_updMaijiArticleById(MaijiArticle maijiArticle);

    BaseResDto add_updMaijiArticle(MaijiArticleReqData data) throws Exception;

}
